import request  from '@/utils/request';

import { BASE_URL } from '@/config/query';


// 检查报告数据对比
export async function examineReportCompare(params) {
  return request(`${BASE_URL}/task/examine_report_compare`, params)
}

export async function queryPage(params) {
  return request(`${BASE_URL}/owner_report/page`, params)
}

export async function queryDetails(id) {
  return request(`${BASE_URL}/owner_report/detail/${id}`)
}

export async function exportAlarm(id) {
  return request(`${BASE_URL}/owner_report/device_alarm/export/${id}`, null, 'get', 'blob')
}

export async function exportDevice(id) {
  return request(`${BASE_URL}/owner_report/device/export/${id}`, null, 'get', 'blob')
}